package com.chinasofti.manager.domain;

import java.util.Scanner;

public class TestStudent {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("请输入学生信息");
        String stu = in.nextLine();
        String[] stuArr = stu.split("，");
        Student student = new Student();
        student.setName(stuArr[0]);
        student.setAge(stuArr[1]);
        System.out.println(student.getName()+student.getAge());
    }
}
